package com.smartum.mpr.client.services;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.smartum.mpr.shared.Image;
import org.json.simple.parser.ParseException;

import java.io.IOException;
import java.util.List;

/**
 */
@RemoteServiceRelativePath("imageService")
public interface ImageService extends RemoteService {
    void submitImages(int pageSize, Long[] acceptIds, Long[] declineIds) throws IOException;

    List<Image> getImages(int pageSize, long timestamp) throws IOException;

    long getTotalUnmoderateImages() throws IOException;

    void removeTempImage(String imageName) throws IOException;
}
